﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <script type="text/javascript">
        function load() {
            var dom = document.getElementById("activex");
            dom.regJs(window, 'test');
            dom.Init('ActiveX控件初始化...');
        }

        function test() {
            alert("向ActiveX控件注册回调函数");
        }
    </script>
</head>
<body onload="load()">
<object id="activex" classid="clsid:21209360-34E1-423E-A81F-BC80B62021B7" codebase="lib/setup.exe" width="100%" height="200"></object>
</body>
</html>
